package com.im.app.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("conversations")
public class Conversations implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.ASSIGN_UUID)
    @TableField("owner_user_id")
    private String ownerUserId;

    private String conversationId;

    private Integer conversationType;

    private String userId;

    private String groupId;

    private Integer recvMsgOpt;

    private  Integer unreadCount;

    private Integer isPinned;

    private  String externalId;

    private  String lastContent;

    private Date lastTime;

    private  Integer lastType;


}
